﻿using System.Data;
using LibDataLayer;

namespace LibBusinessLayer
{
    public class BllUsersInRoles
    {
        #region[Get-Data]
        public DataTable GetUsersInRoles(string keywords)
        {
            return DalUsersInRoles.GetUsersInRoles(keywords);
        }
        public DataTable GetUsersInRolesFillter(string RoleName)
        {
            return DalUsersInRoles.GetUsersInRolesFillter(RoleName);
        }
        public DataTable GetUsersInRolesEdit(string UserName)
        {
            return DalUsersInRoles.GetUsersInRolesEdit(UserName);
        }
        #endregion

        #region[Update]
        public static bool Update(DTOUsersInRoles obj)
        {
            return DalUsersInRoles.Update(obj);
        }
        public static bool UpdateRoles(DTOUsersInRoles obj)
        {
            return DalUsersInRoles.UpdateRoles(obj);
        }
        #endregion
    }
}